﻿using Csla;
using System;

namespace Ent.Inscripcion.Core.Core
{
    [Serializable]
    public class EstudianteTutoriaCriterio : BusinessBase<EstudianteTutoriaCriterio>
    {
        #region Business Methods

        private static PropertyInfo<string> OfertaIdProperty = RegisterProperty<string>(o => o.OfertaId, "Nivel");
        public string OfertaId
        {
            get { return GetProperty(OfertaIdProperty); }
            set { SetProperty(OfertaIdProperty, value); }
        }

        private static PropertyInfo<string> ParaleloIdProperty = RegisterProperty<string>(o => o.ParaleloId, "Dia");
        public string ParaleloId
        {
            get { return GetProperty(ParaleloIdProperty); }
            set { SetProperty(ParaleloIdProperty, value); }
        }

        private static PropertyInfo<string> NivelIdProperty = RegisterProperty<string>(o => o.NivelId, "Nivel");
        public string NivelId
        {
            get { return GetProperty(NivelIdProperty); }
            set { SetProperty(NivelIdProperty, value); }
        }

        private static PropertyInfo<string> DiaIdProperty = RegisterProperty<string>(o => o.DiaId, "Dia");
        public string DiaId
        {
            get { return GetProperty(DiaIdProperty); }
            set { SetProperty(DiaIdProperty, value); }
        }

        private static PropertyInfo<string> DocenteIdProperty = RegisterProperty<string>(o => o.DocenteId, "Dia");
        public string DocenteId
        {
            get { return GetProperty(DocenteIdProperty); }
            set { SetProperty(DocenteIdProperty, value); }
        }

        private static PropertyInfo<DateTime> FechaProperty = RegisterProperty<DateTime>(o => o.Fecha, "Name");
        public DateTime Fecha
        {
            get { return GetProperty(FechaProperty); }
            set { SetProperty(FechaProperty, value); }
        }

        private static PropertyInfo<DateTime> HoraProperty = RegisterProperty<DateTime>(o => o.Hora, "Name");
        public DateTime Hora
        {
            get { return GetProperty(HoraProperty); }
            set { SetProperty(HoraProperty, value); }
        }

        private static PropertyInfo<string> CedulaProperty = RegisterProperty<string>(o => o.Cedula, "Cedula");
        public string Cedula
        {
            get { return GetProperty(CedulaProperty); }
            set { SetProperty(CedulaProperty, value); }
        }
        #endregion

        

        #region Factory Methods

        public static EstudianteTutoriaCriterio NewEstudianteTutoriaCriterio()
        {
            return DataPortal.Create<EstudianteTutoriaCriterio>();
        }

        

        private EstudianteTutoriaCriterio()
        { /* Require use of factory methods */ }

        #endregion


    }

}